package test;

import org.springframework.stereotype.Component;

/**
 * 卡车
 */
@Component("stone")
public class Truck implements Car{
    public void drive()
    {
        System.out.println("驾驶卡车");
    }

}
